/**
 * Created by Administrator on 14-9-19.
 */
	(function ($) {
		$.fn.RadioCheckbox = function(options){
			$(this).buttonset(options);
		}
		$.fn.timer = function(){
			$('ul>li>button', $(this)).on('click', function(){
				var value= $(this).text();
				$(this).closest('div.input-group').removeClass('has-error').addClass('has-success');
				$(this).closest('div.input-group').find('input').val(function(){
					var i = $(this).index('#dropdown-time input.form-control');
					$('#dropdown-time>label.text-danger').eq(i).hide();
					return value;
				});
			});
		}
	}(jQuery));